<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" name="viewport">
    <link rel="shortcut icon" href="favicon.ico">
    <title>云职外包</title>
    <link href="css/reset.css" rel="stylesheet">
    <link href="css/css.css" rel="stylesheet">
    <link href="css/style.css" rel="stylesheet">
    <link href="css/responsive.css" rel="stylesheet">
    <link href="fonts/fonts.css" rel="stylesheet">
    <script src="https://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    <script src="js/jquery.easing.js"></script>
    <script src="js/jquery.flexslider-min.js"></script>
    <link rel="icon" href="./img/fav.png">
</head>

<body id="home">
    <div id="loading">
        <img src="img/loading.png" id="load">
        <div id="latido" class="loadingGlow"></div>
        <div id="circle"></div>
    </div>
    <header>
        <div class="logo">
            <a href="index.html">
                <img src="img/1.png" class="salmon" />
                <img src="img/2.png" class="blue" />
            </a>
        </div>
        <div class="btnMenu"><i></i><i></i><i></i></div>
        <nav>
            <div class="botonera">
                <i></i>
                <ul>
                    <li><a href="index.html" class="act">首页<i></i></a></li>
                    <li><a href="estudio.html">项目介绍<i></i></a></li>
                    <li><a href="contacto.html">关于我们<i></i></a></li>
                </ul>
                <i></i>
            </div>
        </nav>
    </header>
    <div id="nav_main">
        <div class="nav-main" data-section="inicio"></div>
        <div class="nav-main" data-section="slide1"></div>
        <div class="nav-main" data-section="slide2"></div>
        <div class="nav-main" data-section="slide3"></div>
    </div>
    <section id="inicio" class="salmonGlow in" data-rel="#slide1">
        <div class="splash layer" data-depth="0.60" style="z-index:9999;margin-left:1%;">
            <div class="welcome" style="height:500px; width:630px; text-align:left"><br>
                <hr class="fat blue">
                <p>
                    welcome<strong>云职外包</strong>
                </p>
                <span class="sm_text">做有温度的软件项目外包平台</span>
                <hr>
            </div>
        </div>
        <div class="splash layer" data-depth="0.30" style="z-index:2"><img src="img/splash-welcome.png"></div>
        <div class="splash layer" data-depth="0.20" style="z-index:1"><img src="img/particles-welcome.png" style="opacity:0.4"></div>
        <a href="#slide1" class="arrowDown"><img src="img/arrow-home.png"></a>
    </section>
    <section id="slide1" class="blueGlow" data-rel="#slide2">
        <div class="splash layer" data-depth="0.60" style="z-index:9999;margin-top:10%;margin-left:1%;">
            <div class="welcome" style="height:500px; width:580px; text-align:left"><br>
                <hr class="fat">
                <p>
                    <strong>用心 · 专业<br></strong>
                </p>
                <span class="sm_text">专业，成就客户事业</span>
                <hr>
            </div>
        </div>
        <div class="splash layer" data-depth="0.30" style="z-index:1"><img src="img/splash-estudio.png"></div>
        <div class="splash layer" data-depth="0.20" style="z-index:1"><img src="img/particles-estudio.png"></div>
        <a href="#slide2" class="arrowDown"><img src="img/arrow-home-salmon.png"></a>
    </section>
    <section id="slide2" class="salmonGlow" data-rel="#slide3">
        <div class="splash layer" data-depth="0.60" style="z-index:9999;margin-top:10%;margin-left:2%;">
            <div class="welcome" style="height:400px; width:660px; text-align:left; margin-top:5%"><br>
                <hr class="fat blue">
                <strong><span class="sm_text">优化成本，追求更高性价比，我们更懂客户</span></strong>
                <hr>
            </div>
        </div>
        <div class="splash layer" data-depth="0.20" style="z-index:1;margin-top:20%;"><img src="img/particles-agencia.png" style="opacity:0.4"></div>
        <div class="splash layer" data-depth="0.30" style="z-index:2; margin-left:1%;"><img src="img/splash-agencia.png"></div>
        <a href="#slide3" class="arrowDown"><img src="img/arrow-home.png"></a>
    </section>
    <section id="slide3" class="blueGlow">
        <div class="wpJobs">
            <div class="job flexSivori">
                <ul class="slides">
                    <li id="Sivori">
                        <a href="proyectos.html">
                            <span>云职外包</span>
                            <p><strong>我们仔细地沟通每个细节</strong> 只为发现需求的真意</p>
                            <img src="img/diego-sivori.png" alt="Diego Sivori">
                        </a>
                    </li>
                    <li id="Rukan">
                        <a href="proyectos.html">
                            <span>云职外包</span>
                            <p><strong>产品天下皆有</strong> 而你的只属于你的“智慧”，这就是定制.</p>
                            <img src="img/rukan.png" alt="Rukan Real State">
                        </a>
                    </li>
                    <li id="Legala">
                        <a href="proyectos.html">
                            <span>云职外包</span>
                            <p><strong>我们热爱我们所做的，为我们能帮助到改变世界的人而感到幸福</strong>.</p>
                            <img src="img/legala.png" alt="Legala">
                        </a>
                    </li>
                </ul>
            </div>
            <div class="job flexAwwwards">
                <a href="#">
                    <div class="copy">
                        <h2 style="margin-bottom: 10px;">#大象云职#</h2>
                        <p style="font-size: 15px;">软件改变世界。 大象云职是专门为软件开发外包场景搭建的“智慧”供应平台。 以客户丰富的行业智慧和产品技术人才的专业智慧为基础，挖掘行业用户潜在需求，在精心的美学设计和科学的项目管理下，让大家的智慧转化成客户成功的强大助力。 客户改变了世界，便是我们也改变了世界。
                        </p>
                    </div>
                </a>
            </div>
            <div class="job flexMole">
                <a href="estudio.html">
                    <div class="copy">
                        <span>大象云职</span>
                        <p><strong>我们的项目</strong> </p>
                        <p style="margin-top: 5px;"> / 案例</p>
                        <div class="arrowIr"></div>
                    </div>
                    <img src="img/demo.png" alt="mole" class="phone">
                </a>
            </div>
            <div class="job flexFoodpro">
                <a href="javascript:;">
                    <img src="img/foodPro.png" alt="Food Pro" class="caja">
                    <div class="copy">
                        <span>大象云职</span>
                        <h2 style="font-size: 23px;
                        line-height: 28px;
                        letter-spacing: 1px;">用“心”、用力写好每一行代码</h2>
                        <div class="arrowIr"></div>
                    </div>
                </a>
            </div>
            <div class="job flexBehance">
                <a href="estudio.html">
                    <!-- <img src="img/logo-behance.png" class="behance" alt="behance"> -->
                    <h2 style="font-size: 23px;
                        line-height: 28px;
                        letter-spacing: 1px;padding:20px;">Project</h2>
                    <p></p>
                    <div class="date">
                        <strong>15</strong>/11
                    </div>
                    <i class="arrowIr"></i> <span>More</span>
                </a>
            </div>
            <div class="job flexManifiesto">
                <span>联系我们</span>
                <ul class="slides">
                    <li>
                        <div>邮件联系方式 :</div>
                        <div style="font-size:25px;">shoufu@dxzhibo.com.</div>
                    </li>
                    <li>
                        <div>发布项目 :</div>
                        <div style="font-size:25px;">business@dxzhibo.com.</div>
                    </li>
                    <li>
                        <div>合作机会 :</div>
                        <div style="font-size:25px;">op@dxzhibo.com.</div>
                    </li>
                </ul>
                <div id="cant"></div>
                <a href="contacto.html" class="plus"><i></i><i></i></a>
            </div>
        </div>
        <div class="splash layer" data-depth="0.50" style="margin-top:20%"><img src="img/particles-jobs.png"></div>
        <div class="splash layer" data-depth="0.20" style="margin-top:25%"><img src="img/splash-jobs.png" width="600"></div>
    </section>
    <footer id="footer">
        <div class="social">
            <a class="pastille facebook" target="_blank" href="#"> <span class="icon">Hacete Fan en Facebook</span> <span class="icon roll"></span> </a>
            <a class="pastille twitter" target="_blank" href="#"> <span class="icon">Seguinos en Twitter</span> <span class="icon roll"></span> </a>
            <a class="pastille instagram" target="_blank" href="#"> <span class="icon">Seguinos en Instagram</span> <span class="icon roll"></span> </a>
        </div>
        <div class="legal"><strong>大象之铂（北京）信息科技有限公司</strong> | 备案号：京ICP备20030310号-2 Copyright © 2019</div>
    </footer>
    <script src="js/parallax.js"></script>
    <script src="js/js.js"></script>
    <script>
        $(document).ready(function() {
            //PARALLAX
            //if($(window).width() > 768){
            var scene = document.getElementById('inicio');
            var scene1 = document.getElementById('slide1');
            var scene2 = document.getElementById('slide2');
            var scene3 = document.getElementById('slide3');
            var parallax = new Parallax(scene);
            var parallax = new Parallax(slide1);
            var parallax = new Parallax(slide2);
            var parallax = new Parallax(slide3);
            //}
            //CANTIDAD SLIDES
            var cantSlide = $('.flexManifiesto ul.slides li').length;
            $('#cant').html('/' + cantSlide);
            $('.flexSivori').flexslider({
                animation: "fade"
            });
            $('.flexManifiesto').flexslider({
                animation: "slide"
            });
            //HEADER SCROLL
            $(window).scroll(function(e) {
                var scrol = $(window).scrollTop();
                var section = $('section').height() - 100;
                if (scrol >= section && scrol < (section * 2)) {
                    $('#home header').addClass('headSalmon');
                    $('nav').addClass('navBlue');
                } else if (scrol > (section * 3)) {
                    $('#home header').addClass('headSalmon');
                    $('nav').addClass('navBlue');
                } else {
                    $('#home header').removeClass('headSalmon');
                    $('nav').removeClass('navBlue');
                }
                navMainScroll()
            });
        });
        //botoncitos
        navMainScroll()

        $(".nav-main").on('click', function(e) {
            e.preventDefault();
            var newtop = $("#" + $(this).data("section")).offset().top;
            scrolling = true;
            $("html,body").stop(true, true).animate({
                scrollTop: newtop + "px"
            }, 300, function() {
                scrolling = false;
            });
        });

        function navMainScroll() {
            var scrol = $(window).scrollTop();
            // nav lateral
            $(".nav-main").each(function(e, i) {
                var sec = $("#" + $(this).data("section"));

                if (!sec.offset()) return
                if ((scrol + $(window).height() / 2) >= sec.offset().top && (sec.offset().top + $(window).height()) > scrol && !sec.hasClass("active")) {
                    $(".nav-main").removeClass("active");
                    $(this).addClass("active");
                }
            });
        }
        /*mouseWhell*/
        if ($(window).width() > 768) {

            var scrol = 0;
            var handleAvailable = true;

            // function sube(){
            //     window.onmousewheel = document.onmousewheel = null;
            //     window.removeEventListener('DOMMouseScroll', wheel, false);
            //             handleAvailable = true;
            //     $(window).scroll(function(){
            //         //alert($('body').scrollTop());
            //         //alert($('#slide3').offset().top);
            //         if($('body').scrollTop() < $('#slide3').offset().top){
            //             scroll=1;
            //             window.onmousewheel = document.onmousewheel = wheel;
            //             window.addEventListener('DOMMouseScroll', wheel, false);
            //             // handle(1);
            //         }
            //     });
            // }
            function handle(delta) {

                //window.onmousewheel = document.onmousewheel = wheel;
                //window.addEventListener('DOMMouseScroll', wheel, false);

                if (handleAvailable == true) {

                    if (delta < 0) {
                        console.log(scrol);
                        handleAvailable = false;

                        if (scrol == 0) {
                            playSection('slide1', 0);
                            scrol = 1;

                        } else if (scrol == 1) {
                            playSection('slide2', 0);
                            scrol = 2;

                        } else if (scrol == 2) {
                            playSection('slide3', 0);
                            scrol = 3;

                        } else if (scrol == 3) {
                            //playSection('slide3', 350);
                            window.onmousewheel = document.onmousewheel = null;
                            window.removeEventListener('DOMMouseScroll', wheel, false);
                            // sube();
                            scrol = 4;
                        } else if (scrol == 4) {
                            playSection('footer', 0);
                            scrol = 4;
                        }
                    } else if (delta > 0) {
                        console.log(scrol);
                        handleAvailable = false;

                        if (scrol == 4) {
                            //playSection('slide3', 350);
                            scrol = 3;
                        } else if (scrol == 3) {
                            playSection('slide3', 0);
                            scrol = 2;
                        } else if (scrol == 2) {
                            playSection('slide2', 0);
                            scrol = 1;
                        } else if (scrol == 1) {
                            playSection('slide1', 0);
                            scrol = 0;
                        } else if (scrol == 0) {
                            playSection('inicio', 0);
                            scrol = 0;
                        }
                    }
                }
            }

            function playSection(section, x) {

                $('html, body').animate({
                    scrollTop: $('#' + section).offset().top + x
                }, 300);
                setTimeout(function() {
                    handleAvailable = true; // una vez que termina el video habilito el scroll de nuevo
                }, 1000);
            }

            function wheel(event) {
                var delta = 0;
                if (!event)
                    event = window.event;
                if (event.wheelDelta) {
                    delta = event.wheelDelta / 120;
                } else if (event.detail) {
                    delta = -event.detail / 3;
                }
                if (delta)
                    handle(delta);

                if (event.preventDefault)
                    event.preventDefault();
                event.returnValue = false;
            }
            if (window.addEventListener)
            /** DOMMouseScroll is for mozilla. */
                window.addEventListener('DOMMouseScroll', wheel, false);
            /** IE/Opera. */
            window.onmousewheel = document.onmousewheel = wheel;

        }
    </script>
</body>

</html>